package org.springblade.modules.repair.service;

import org.springblade.core.mp.base.BaseService;
import org.springblade.modules.repair.entity.BuildingElevatorTemplateRele;
import org.springblade.modules.repair.vo.BuildingElevatorTemplateReleTreeVO;

import java.util.List;

public interface BuildingElevatorTemplateReleService extends BaseService<BuildingElevatorTemplateRele> {

	/**
	 * 电梯结构级联查询
	 * @param buildingId
	 * @param parentId
	 * @return
	 */
    List<BuildingElevatorTemplateRele> lazyList(Long buildingId, Long parentId);

	/**
	 * 结构树
	 * @param buildingId
	 * @return
	 */
	List<BuildingElevatorTemplateReleTreeVO> tree(Long buildingId);
}

